//
//  FBDTableViewCell.m
//  baodongPro
//
//  Created by feng on 16/3/14.
//  Copyright © 2016年 proper. All rights reserved.
//

#import "FBDTableViewCell.h"
//#import "UIView+FBDQuickCreateUI.h"
@implementation FBDTableViewCell

- (void)awakeFromNib {
    // Initialization code
}
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier withFrame:(CGRect)frame
{
    self=[super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self)
    {
        
        
        UIView* backGroudView=[[UIView alloc] initWithFrame:CGRectMake(0, 0, CGRectGetWidth(frame), CGRectGetHeight(frame))];
        [backGroudView setBackgroundColor:[UIColor grayColor]];
        [self.contentView addSubview:backGroudView];
        
        _leftImageView=[[UIImageView alloc] initWithFrame:CGRectMake(20, 10, 60, 60)];
        _leftImageView.backgroundColor=[UIColor yellowColor];
        [self.contentView addSubview: _leftImageView];
        
        _rightLabel=[[UILabel alloc] initWithFrame:CGRectMake(100, 10, CGRectGetWidth(frame)-120, 60)];
        _rightLabel.backgroundColor=[UIColor purpleColor];
        _rightLabel.numberOfLines=0;
        _rightLabel.font=[UIFont systemFontOfSize:13];
        [self.contentView addSubview:_rightLabel];
        self.leftImageView.layer.cornerRadius=CGRectGetHeight(self.leftImageView.frame)/2.0;
        self.leftImageView.clipsToBounds=YES;
    }


    return self;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
